﻿Public Class NguoiDungBUS
    Private ndDAO As NguoiDungDAO

    Public Sub New()
        ndDAO = New NguoiDungDAO
    End Sub
    Public Function CapNhat(ByVal nd As NguoiDungDTO, ByVal f As Boolean) As Boolean
        Return ndDAO.CapNhat(nd, f)
    End Function
    Public Function XoaNguoiDung(ByVal emp As NguoiDungDTO)
        Return ndDAO.XoaNGuoiDung(emp)
    End Function
   
    Public Function GetData() As List(Of NguoiDungDTO)
        Return ndDAO.GetData()
    End Function
End Class
